class CreateProductcomments < ActiveRecord::Migration
  def self.up
    create_table :productcomments do |t|
      t.integer :product_id
      t.integer :user_id
      t.text :content
      t.integer :range,:precision=>2

      t.timestamps
    end
  end

  def self.down
    drop_table :productcomments
  end
end
